from sys import argv
def copy_fname(src_fname,dst_fname):
#src_fname = '/tmp/mima'
#dst_fname = '/tmp/mimi'

    src_fobj = open(src_fname,'rb')
    dst_fobj = open(dst_fname,'wb')

    while 1:
        data = src_fobj.read(4096)
        #if data == 0:
        if not data :
            break
        dst_fobj.write(data)
    src_fobj.close()
    dst_fobj.close()

copy_fname(argv[1],argv[2])













#print('\033[31;42;1mOK\033[0m')